package my.design.adapter.impl;

import my.design.adapter.service.OrderAdapterService;
import my.design.adapter.service.OrderService;

/**
 * @author zp
 * @version 1.0
 * @description: TODO
 * @date 2022/10/8 19:45
 */
public class InsideOrderService implements OrderAdapterService {
    private OrderService orderService = new OrderService();
    public boolean isFirst(String uId) {
        return orderService.queryUserOrderCount(uId) <= 1;
    }
}
